"Transform" Section
This section contains parameters which define the position, size and orientation
of the shape.
Note that the coordinate system is based on the alignment box of the shape:
the coordinate origin is in the top left-hand corner, the horizontal coordinates
increase as you move from left to right, and the vertical coordinates increase
as you move from top to bottom.
Since a shape may be part of a parent group, the following parameters describe its position within the group (with relation to the coordinate system of the group):
GPinX, GPinY, â””ngle, LocPinX, LocPinY - for a 2D shape
BeginX, BeginY, EndX, EndY, Angle, LocPinX, LocPinY - for a 1D shape.
Note: If a shape isn't part of any parent group, it is taken to belong to the group formed by the entire page.
Here are the fields of the section:
Width
Describes the width of the alignment box of the shape.
In the Formulas mode, you can see the data in tenths of millimeters;
in the Values mode, the content is displayed in the current
unit of measure.
As a rule, the Width parameter is used as a variable
in formulas for other fields.
For 1D shapes, this field usually contains the following formula:
_HYP(EndX-BeginX;EndY-BeginY).
If the shape is part of a group, its width is described through the width
and height of the parent group.
For example: _HYP(Parent.Width*0.308575;Parent.Height*0.283963).
Height
Describes the height of the alignment box of the shape.
In the Formulas mode, you see the data in tenths of millimeters;
in the Values mode, the data is displayed in the current unit
of measure.
As a rule, the Height parameter is used as a variable
in formulas for other fields.
As a rule, this field holds a number.
If the shape is part of a group, its height is described through the width
and height of the parent group.
For example: _HYP(Parent.Width*0.267234;Parent.Height*0.081973).
Angle
Describes the angle of the shape with respect to its parent group.
In the Formulas mode, you see the angle in radians; in the
Values mode, the angle is displayed in degrees. The angle value
may range within [-180 deg, 180 deg].
For 1D shapes, this field usually contains the following formula:
FlipX*_PI()+_ATAN2(EndY-BeginY;EndX-BeginX).
GPinX
Specifies the X offset of the rotation centre of the shape with respect to
its parent group.
In the Formulas mode, you see the data in tenths of millimeters;
in the Values mode, the data is displayed in the current unit
of measure.
GPinY
Specifies the Y offset of the rotation centre of the shape with respect to
its parent group.
In the Formulas mode, you see the data in tenths of millimeters;
in the Values mode, the data is displayed in the current unit
of measure.
LocPinX
Describes the X offset of the rotation centre of the shape with relation to
the coordinate origin of the shape.
In the Formulas mode, you see the data in tenths of millimeters;
in the Values mode, the data is displayed in the current unit
of measure.
The default formula is Width*0.5.
LocPinY
Describes the Y offset of the rotation centre of the shape with relation to
the coordinate origin of the shape.
In the Formulas mode, you see the data in tenths of millimeters,
in the Values mode, the data is displayed in the current unit
of measure.
The default formula is Height*0.5.
FlipX
The flag for horizontal flipping. This is a binary value:
FALSE - the shape isn't flipped ;
TRUE - the shape is flipped.
FlipY
The flag for vertical flipping. This is a binary value:
FALSE - the shape isn't flipped ;
TRUE - the shape is flipped.
When referencing to the fields of the Transform section, you don't need to include the name of the section. The fields are addressed in the following form:
[<shape_name>.]<field_name>
Return to The Table's Sections